class_name = "CTank"
object_name = "Sturmpanzerwagen A7V"
detail_type = "DET_TANK" //list of types is in \inc\SimulationSystem\DetailTypes.inc

VisualImage=0,"graphics/vehicles/A7V/A7V.mgm",true

ImageAttr=24	// IA_NOMINPIXELS | IA_NOMINPIXELS
//	IA_DEFAULT=0,
//	IA_NOCLIP=1,
//	IA_NOCLIP_ANIM=2,
//	IA_NOROTINTERPOLATION=4,
//	IA_NOMINZ=8,
//	IA_NOMINPIXELS=16,
//	IA_NOPOSINTERPOLATION=32,
//	IA_CLOSEVIEWARG=64,
//	IA_ALWAYSVISIBLE=128,
//	IA_SCALEARG=256,
//	ImageAttr=Attr1+Attr2+...+AttrN

CollisionBody="graphics/vehicles/A7V/A7V_Phys.col"
HitBody="graphics/vehicles/A7V/A7V.col"

ConvexAnimThreshold=0.0005	//  

SoundScript="LuaScripts/Sound/Vehicles/T34.cfg"

[attach=0]
	position= 2.230,1.606,0.342
	object = "LuaScripts/WorldObjects/Bots/BotDriverTank.txt"
[end]

[attach=1]
	position= 3.272, 1.936, 0.013
	object = "LuaScripts/WorldObjects/Vehicles/Turrets/A7VTurretMain.txt"
[end]

[attach=2]
	position= 1.554, 2.09, 1.135
	rotation= 0, 90, 0
	object = "LuaScripts/WorldObjects/Vehicles/Turrets/A7VTurretMGrgtFw.txt"
[end]

[attach=3]
	position= -1.572, 2.09, 1.132
	rotation= 0, 90, 0
	object = "LuaScripts/WorldObjects/Vehicles/Turrets/A7VTurretMGrgtRr.txt"
[end]

[attach=4]
	position= -3.087, 1.847, 0.645
	rotation= 0, 180, 0
	object = "LuaScripts/WorldObjects/Vehicles/Turrets/A7VTurretMGaftR.txt"
[end]

[attach=5]
	position= -3.086, 1.847, -0.631
	rotation= 0, 180, 0
	object = "LuaScripts/WorldObjects/Vehicles/Turrets/A7VTurretMGaftL.txt"
[end]

[attach=6]
	position= -1.57, 2.09, -1.114
	rotation= 0, -90, 0
	object = "LuaScripts/WorldObjects/Vehicles/Turrets/A7VTurretMGlftRr.txt"
[end]

[attach=7]
	position= 1.556, 2.09, -1.112
	rotation= 0, -90, 0
	object = "LuaScripts/WorldObjects/Vehicles/Turrets/A7VTurretMGlftFw.txt"
[end]

[attach=8]
	position= 2.411,2.922,0.374
	rotation= 30, 0, 0
	object = "LuaScripts/WorldObjects/FlareGun.txt"
[end]

[attach=9]
	position= 0.6, 2.4, 0.0
	object = "LuaScripts/WorldObjects/Spotter.txt"
[end]

TargetHeight = 1.5			//            

CommandMonitor="LuaScripts/WorldObjects/VehicleMonitor.txt"

sendrate = 15				//    50     (=15    3.3)

PrioritySpeed = 2.8			//    ,     ,        . ( 2.22,   -  )
PrioritySpeedRoad = 5.0		//    ,     .        (4.44)           PID
Mass = 30000.0				//   
WidthTrack = 2.746			//   , ..        
LengthTrack = 4.615			//    
StartEngineForce = 100.0	//  ,           
MaxEngineForce = 39050.0	//    ,  ,           0.95,      
MaxTransmissionKoeff = 5.0	//      ,  ,     \Missions\TestTank_hill.Mission     1.1..1.2/
TrackDistance = 1.640		//       
WheelRadius = 0.278			//   ,    .  A7V    2 ,       ,     2  
CrrExt = 4000.0				//    ,   
Crr = 1700.0				//   ,   
CrrOffRoad = 3500.0			//     ,   .  ,             0.95.
Cdrag = 50.0				//    ,    
Csf = 0.1					//     ,  ,        (  )
CsfOffRoad = 0.1			//       .    CrrOffRoad.
Crt = 10.0					//  
Cbraking = 9000.0			//   
Cang = 30.0					//    
MaxTurningAngle=90.0,30.0,5.0	//     .   ,  0.5*PrioritySpeed,   ( 1.3)
OrientSmoothParam = 0.01	//       /
WheelSmokeArg = 61010		//   
LightsCount = 1				// -   
LightsArgBase = 60200		//   
FreezeOnDestroy=true		//   , true -   ,   -    

RegenerationMax = 1.0		//   Life - 
RegenerationMin = 0.5		//   Life,     
RegenerationPercent = 0.0	//  ,  Life  

Firing=0.002				//     ,  Life  
SmokeStartHealth = 0.5		//  ,      
MinFiringHealth = 0.5		//  ,    
MinMovementHealth = 0.25	//  ,    
MinAttackHealth = 0.10		//  ,    

FireEffectTime = 300.0		//       
DestructArg = 281			//  
SmokeArgBase    = 60000		//   
SmokeArgTotalNum = 4		// -  , 1-     60000,   60001,   60002  ..
FiringArg = 60100			//   

ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/TankExplosion.txt"	//    

CriticalWaterLevel = 1.5		//   
CriticalHeigthLevel = 3.0		//      
DivingSpeed = 0.8				//    

ImpulseToDestroy = 520000		//      ,    .    7   .    .
ImpulseMinimumLevel = 104000	//      ,    .         .
ColDamageDelay=0.5				//      (  ,      ,     )

logtreshold=0.0001				//   ,    


[moveDeviator]
  HiFreqAmp = 0.2f
  MaxDeviation = 1.0f
  Periods = 2.1, 0.4;
[end]
accelDirK = 0.3
accelDirSmooth = 0.15
accelSideK = 0.3
accelSideSmooth = 0.15

//  .         40000.

energyloss="",true,5.0,200		//     , true -       -,       ,        
energyloss="#hull_1",true,0,1
energyloss="#hull_2",true,0,1
energyloss="crew_01",true,0,1
energyloss="crew_02",true,0,1
energyloss="tower",false,20,1
energyloss="#gun",true,15.0,1000
energyloss="armor_01",false,20,1		//Tower roof armour plate, 5mm, K=1.0
energyloss="armor_02",false,15,1		//Tower rear armour plate, 15mm, K=1.0
energyloss="armor_03",false,15,1		//Tower right armour plate, 15mm, K=1.0
energyloss="armor_04",false,20,1		//Tower forward armour plate, 20mm, K=1.0
energyloss="armor_05",false,15,1		//Tower left armour plate, 15mm, K=1.0
energyloss="armor_06",false,6,1			//Hull roof armour plate, 6mm, K=1.0
energyloss="armor_07",false,15,1		//Hull right armour plate, 15mm, K=1.0
energyloss="armor_08",false,15,1		//Hull left armour plate, 15mm, K=1.0
energyloss="armor_09",false,6,1			//Hull roof armour plate, 6mm, K=1.0
energyloss="armor_10",false,6,1			//Hull roof armour plate, 6mm, K=1.0
energyloss="armor_12",false,15,1		//Hull rear armour plate, 15mm, K=1.0
energyloss="armor_13",false,15,1		//Hull rear armour plate, 15mm, K=1.0
energyloss="armor_14",false,15,1		//Hull rear armour plate, 15mm, K=1.0
energyloss="armor_15",false,5,1			//Hull bottom armour plate, 5mm, K=1.0
energyloss="armor_17",false,30,1		//Hull forward armour plate, 30mm, K=1.0
energyloss="armor_19",false,30,1		//Hull forward armour plate, 30mm, K=1.0
energyloss="armor_20",false,30,1		//Hull forward armour plate, 30mm, K=1.0
energyloss="armor_21",false,30,1		//Hull forward armour plate, 30mm, K=1.0
energyloss="armor_22",false,10,1		//Hull forward lwr armour plate, 10mm, K=1.0

Armor=30			//  ,  ,        

[ReflectArmorBox]	//    ,    energyloss=0,1.    ,     ,   ,     Armor=
	FovH=90			//          ,     ,  ArmorFront
	FovV=90			//          ,     ,  ArmorFront
					//  5        
	ArmorFront=30
	ArmorBack=15
	ArmorTop=6
	ArmorBottom=5
	ArmorRight=15
	ArmorLeft=15
[end]

[DmgElement = ammo]
	damageablePart="ammo_1","ammo_2"
	LifeRate=40000
	LifeRateFrag=40000
	Armor=5				//     (BeamHit)
	[SphereHitArmorBox]	//    ,        ,   ,     SphereHitProtection,     -    Armor/ArmorBox
		FovH=90			//          ,     ,  ArmorFront
		FovV=90			//          ,     ,  ArmorFront
						//  5        
		ArmorFront=30
		ArmorBack=15
		ArmorTop=6
		ArmorBottom=5
		ArmorRight=15
		ArmorLeft=15
	[end]
	CollisioDamageSens=0.5
[End]

[DmgElement = crew]
	damageablePart="crew_01","crew_02"
	LifeRate=500		//  500  
	LifeRateFrag=500
	Armor=0				//     (BeamHit)
	[SphereHitArmorBox]	//    ,        ,   ,     SphereHitProtection,     -    Armor/ArmorBox
		FovH=90			//          ,     ,  ArmorFront
		FovV=90			//          ,     ,  ArmorFront
						//  5        
		ArmorFront=30
		ArmorBack=15
		ArmorTop=6
		ArmorBottom=5
		ArmorRight=15
		ArmorLeft=15
	[end]
	CollisioDamageSens=0
[End]

[DmgElement = hull]
	damageablePart="#hull_1","#hull_2"
	LifeRate=20000		// 0.5   
	LifeRateFrag=20000
	Armor=5
	CollisioDamageSens=1
[End]

[DmgElement = engine]
	damageablePart="engine"
	LifeRate=20000		// 0.5   
	LifeRateFrag=20000
	Armor=5				//     (BeamHit)
	[SphereHitArmorBox]	//    ,        ,   ,     SphereHitProtection,     -    Armor/ArmorBox
		FovH=90			//          ,     ,  ArmorFront
		FovV=90			//          ,     ,  ArmorFront
						//  5        
		ArmorFront=30
		ArmorBack=15
		ArmorTop=6
		ArmorBottom=5
		ArmorRight=15
		ArmorLeft=15
	[end]
	CollisioDamageSens=1
[End]

[DmgElement = track_L]
	damageablePart="#track_L"
	LifeRate=15000		// 0.5   
	LifeRateFrag=15000
	[ArmorBox]			//     (BeamHit)   (SphereHit)
		FovH=90			//          ,     ,  ArmorFront
		FovV=90			//          ,     ,  ArmorFront
						//  5        
		ArmorFront=20
		ArmorBack=20
		ArmorTop=40
		ArmorBottom=20
		ArmorRight=60
		ArmorLeft=60
	[end]
	DamageArg=293
	CollisioDamageSens=1
[End]

[DmgElement = track_R]
	damageablePart="#track_R"
	LifeRate=15000		// 0.5   
	LifeRateFrag=15000
	[ArmorBox]			//     (BeamHit)   (SphereHit)
		FovH=90			//          ,     ,  ArmorFront
		FovV=90			//          ,     ,  ArmorFront
						//  5        
		ArmorFront=20
		ArmorBack=20
		ArmorTop=40
		ArmorBottom=20
		ArmorRight=60
		ArmorLeft=60
	[end]
	DamageArg=294
	CollisioDamageSens=1
[End]

[DmgElement = turret]
	damageablePart="tower"
	LifeRate=15000		// 0.5     , 2000  
	LifeRateFrag=15000
	Armor=20				//     (BeamHit)
	[SphereHitArmorBox]	//    ,        ,   ,     SphereHitProtection,     -    Armor/ArmorBox
		FovH=90			//          ,     ,  ArmorFront
		FovV=90		//          ,     ,  ArmorFront
						//  5        
		ArmorFront=20
		ArmorBack=15
		ArmorTop=6
		ArmorBottom=5
		ArmorRight=15
		ArmorLeft=15
	[end]
	CollisioDamageSens=0
[End]

[DmgElement = gun]
	damageablePart="#gun"
	LifeRate=30000		// 10000   , 20000  , 30000  , 50000  
	LifeRateFrag=15000	// x0.5
	Armor=20			// 5   , 10  , 20  , 30  
	CollisioDamageSens=0
[End]

DebugInfo = false				//           